// 所以在router上模块上添加具有权限鉴定的meta来进行备注
// src/router/index.router.js文件

export default [{
    path: '/',
    component: () => import( /*webpackChunkName:'home'*/ '@/views/Home.vue')//懒加载模式，按需加载
}, {
    // 位置放在那无所谓，找不到才加载和react不同
    path: '*',
    component: () => import( /*webpackChunkName:'404'*/ '@/views/404.vue')
}, {
    path: '/manager',
    component: () => import(/*webpackChunkName:'manager'*/ '@/views/manager/index.vue'),
    meta: {
        needLogin: true
    }
}]

